package com.csun.nusing.bean.jsonbean;

import java.util.List;

/**
 * Created by Administrator on 2017/10/31.
 */

public class FollowDeviceSearchTemperatureJsonBean {

    /**
     * status : true
     * message : 查询成功
     * data : {"min":35,"max":37.2,"status":"正常","temperatureList":[{"id":5,"name":null,"temperature":35,"oldmanId":30,"status":"体温过低","createTime":1508903179000,"modifyTime":1508903179000,"modifier":1},{"id":8,"name":null,"temperature":36.6,"oldmanId":30,"status":"体温过低","createTime":1509350683000,"modifyTime":1509350683000,"modifier":10036},{"id":9,"name":null,"temperature":36.7,"oldmanId":30,"status":"体温过低","createTime":1509355042000,"modifyTime":1509355042000,"modifier":10036},{"id":10,"name":null,"temperature":36.7,"oldmanId":30,"status":"体温过低","createTime":1509355046000,"modifyTime":1509355046000,"modifier":10036},{"id":13,"name":null,"temperature":37.2,"oldmanId":30,"status":"低热","createTime":1509441542000,"modifyTime":1509441542000,"modifier":10001}],"suggest":"注意饮水，保持正常的新陈代谢","average":36.44}
     */

    private boolean status;
    private String message;
    private FollowDeviceSearchTemperatureDataBean data;

    public boolean isStatus() {
        return status;
    }

    public void setStatus(boolean status) {
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public FollowDeviceSearchTemperatureDataBean getData() {
        return data;
    }

    public void setData(FollowDeviceSearchTemperatureDataBean data) {
        this.data = data;
    }

    public static class FollowDeviceSearchTemperatureDataBean {
        /**
         * min : 35
         * max : 37.2
         * status : 正常
         * temperatureList : [{"id":5,"name":null,"temperature":35,"oldmanId":30,"status":"体温过低","createTime":1508903179000,"modifyTime":1508903179000,"modifier":1},{"id":8,"name":null,"temperature":36.6,"oldmanId":30,"status":"体温过低","createTime":1509350683000,"modifyTime":1509350683000,"modifier":10036},{"id":9,"name":null,"temperature":36.7,"oldmanId":30,"status":"体温过低","createTime":1509355042000,"modifyTime":1509355042000,"modifier":10036},{"id":10,"name":null,"temperature":36.7,"oldmanId":30,"status":"体温过低","createTime":1509355046000,"modifyTime":1509355046000,"modifier":10036},{"id":13,"name":null,"temperature":37.2,"oldmanId":30,"status":"低热","createTime":1509441542000,"modifyTime":1509441542000,"modifier":10001}]
         * suggest : 注意饮水，保持正常的新陈代谢
         * average : 36.44
         */

        private double min;
        private double max;
        private String status;
        private String suggest;
        private double average;
        private List<TemperatureListBean> temperatureList;

        public double getMin() {
            return min;
        }

        public void setMin(double min) {
            this.min = min;
        }

        public double getMax() {
            return max;
        }

        public void setMax(double max) {
            this.max = max;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public String getSuggest() {
            return suggest;
        }

        public void setSuggest(String suggest) {
            this.suggest = suggest;
        }

        public double getAverage() {
            return average;
        }

        public void setAverage(double average) {
            this.average = average;
        }

        public List<TemperatureListBean> getTemperatureList() {
            return temperatureList;
        }

        public void setTemperatureList(List<TemperatureListBean> temperatureList) {
            this.temperatureList = temperatureList;
        }

        public static class TemperatureListBean {
            /**
             * id : 5
             * name : null
             * temperature : 35
             * oldmanId : 30
             * status : 体温过低
             * createTime : 1508903179000
             * modifyTime : 1508903179000
             * modifier : 1
             */

            private int id;
            private String name;
            private float temperature;
            private int oldmanId;
            private String status;
            private long createTime;
            private long modifyTime;
            private int modifier;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public float getTemperature() {
                return temperature;
            }

            public void setTemperature(float temperature) {
                this.temperature = temperature;
            }

            public int getOldmanId() {
                return oldmanId;
            }

            public void setOldmanId(int oldmanId) {
                this.oldmanId = oldmanId;
            }

            public String getStatus() {
                return status;
            }

            public void setStatus(String status) {
                this.status = status;
            }

            public long getCreateTime() {
                return createTime;
            }

            public void setCreateTime(long createTime) {
                this.createTime = createTime;
            }

            public long getModifyTime() {
                return modifyTime;
            }

            public void setModifyTime(long modifyTime) {
                this.modifyTime = modifyTime;
            }

            public int getModifier() {
                return modifier;
            }

            public void setModifier(int modifier) {
                this.modifier = modifier;
            }
        }
    }
}
